package com.songlanyun.modules.rabbitmq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.modules.rabbitmq.entity.MsgLog;

import java.util.Date;
import java.util.List;

public interface MsgLogService extends IService<MsgLog> {

    void updateStatus(String msgId, Integer status);

    MsgLog selectByMsgId(String msgId);

    List<MsgLog> selectTimeoutMsg();

    void updateTryCount(String msgId, Date tryTime);

    void saveMsgLog(String msgId, Integer status, String receivedExchange, String receivedRoutingKey,String msg);

}
